﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MVCReview.Models
{
    public static class ListStatic
    {
        private static List<Marker> _markers;
        public static List<Marker> Markers
        {
            get
            {
                if (_markers == null)
                {
                    _markers = new List<Marker>() {
                        new Marker() { Color = "Red", CapMaterial = "Felt", HasCap = true, Id = 1, Size = MarkerSize.small }, 
                        new Marker() { Color = "Blue", CapMaterial = "Metal", HasCap = false, Id = 2, Size = MarkerSize.medium }, 
                        new Marker() { Color = "Black", CapMaterial = "Felt", HasCap = true, Id = 3, Size = MarkerSize.large }
                    };
                }
                return _markers;
            }
        }
    }
}